import service from '@/utils/request'

// @Tags FakeDetectResult
// @Summary 创建FakeDetectResult
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FakeDetectResult true "创建FakeDetectResult"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /res/createFakeDetectResult [post]
export const createFakeDetectResult = (data) => {
  return service({
    url: '/res/createFakeDetectResult',
    method: 'post',
    data
  })
}

// @Tags FakeDetectResult
// @Summary 删除FakeDetectResult
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FakeDetectResult true "删除FakeDetectResult"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /res/deleteFakeDetectResult [delete]
export const deleteFakeDetectResult = (data) => {
  return service({
    url: '/res/deleteFakeDetectResult',
    method: 'delete',
    data
  })
}

// @Tags FakeDetectResult
// @Summary 删除FakeDetectResult
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除FakeDetectResult"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /res/deleteFakeDetectResult [delete]
export const deleteFakeDetectResultByIds = (data) => {
  return service({
    url: '/res/deleteFakeDetectResultByIds',
    method: 'delete',
    data
  })
}

// @Tags FakeDetectResult
// @Summary 更新FakeDetectResult
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FakeDetectResult true "更新FakeDetectResult"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /res/updateFakeDetectResult [put]
export const updateFakeDetectResult = (data) => {
  return service({
    url: '/res/updateFakeDetectResult',
    method: 'put',
    data
  })
}

// @Tags FakeDetectResult
// @Summary 用id查询FakeDetectResult
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FakeDetectResult true "用id查询FakeDetectResult"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /res/findFakeDetectResult [get]
export const findFakeDetectResult = (params) => {
  return service({
    url: '/res/findFakeDetectResult',
    method: 'get',
    params
  })
}

// @Tags FakeDetectResult
// @Summary 分页获取FakeDetectResult列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取FakeDetectResult列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /res/getFakeDetectResultList [get]
export const getFakeDetectResultList = (params) => {
  return service({
    url: '/res/getFakeDetectResultList',
    method: 'get',
    params
  })
}
